#include <dicom/storage/encrypt.h>
#include <dicom/storage/decrypt.h>
#include <gwbase/base/util.h>
#include <gwbase/base/test_harness.h>
#include <gwbase/base/test_util.h>
#include <gwbase/encrypt/compress_helper.h>
#include <surbasic/AESHelper.h>
#include <gwbase/encrypt/digest.h>
#include <dicom/dmv_db.h>

using namespace dicom;

int main() {
  dicom::DmvDB db;
  db.Open("test.db");

  for (int i = 0; i < 1000; ++i) {
    FileObject obj;
    obj.local_id = StringPrintf("local_id_%d", i);
    obj.cloud_id = StringPrintf("cloud_id_%d", i);
    obj.parentId = StringPrintf("parent_id_%d", i);
    obj.hex_key = "0000000000000000000000000000";
    db.UpdateFile(obj);
  }

  return 0;
}
